<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/jquery.myPlugin.js"></script>
<script type="text/javascript">
	$.extend({
		sayHello:function(name){
			console.log('Hello,'+(name?name:'liwm')+'!');
		}
	});
	$.sayHello();
	$.sayHello('jquery');
	
	$("a").myPlugin();
</script>
</head>

<body>
	<ul id="testUl">
	    <li>
	        <a href="http://www.webo.com/liuwayong">我的微博</a>
	    </li>
	    <li>
	        <a href="http://http://www.cnblogs.com/Wayou/">我的博客</a>
	    </li>
	    <li>
	        <a href="http://wayouliu.duapp.com/">我的小站</a>
	    </li>
	</ul>
	<p>这是p标签不是a标签，我不会受影响</p>
</body>
</html>